﻿<UserControl x:Class="LiveTiss.Guias.UserControls.GuiaSolicitacaoOdontoDadosBeneficiario"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
   xmlns:converter="clr-namespace:LiveTiss.Classes.TypeConverter"      
    xmlns:uc="clr-namespace:LiveTiss.Guias.UserControls" 
    mc:Ignorable="d" x:Name="uc" Width="910">

    <StackPanel Width="910">
        <uc:Beneficiario Value="{Binding Path=Value.Beneficiario,ElementName=uc,Mode=TwoWay,ValidatesOnDataErrors=True,NotifyOnValidationError=True}"/>
        <Grid Margin="0,19,0,0" VerticalAlignment="Top">
            <Rectangle RadiusY="6" RadiusX="6" Stroke="#4D898989"/>
            <StackPanel Margin="12,0,8,0">
                <Grid Height="53" Margin="0,0,6,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.024*"/>
                        <ColumnDefinition Width="0.976*"/>
                    </Grid.ColumnDefinitions>
                    <StackPanel Grid.ColumnSpan="2" Margin="0" Grid.Row="2" Grid.Column="2">
                        <TextBlock TextWrapping="Wrap" Text="Nome da Empresa:" FontFamily="Segoe UI" FontSize="13.333"/>
                        <TextBox Margin="0,6,323,0" MaxLength="20" 
                                 Text="{Binding Path=Value.nomeEmpresa, ElementName=uc, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />
                    </StackPanel>
                </Grid>
                <Grid Height="53" Margin="0,0,6,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.024*"/>
                        <ColumnDefinition Width="0.976*"/>
                    </Grid.ColumnDefinitions>
                    <StackPanel Grid.ColumnSpan="2" Margin="0" Grid.Row="2" Grid.Column="2">
                        <TextBlock TextWrapping="Wrap" Text="Número Telefone:" FontFamily="Segoe UI" FontSize="13.333"/>
                        <TextBox Margin="0,6,323,0" MaxLength="20" 
                                 Text="{Binding Path=Value.numeroTelefone, ElementName=uc, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />
                    </StackPanel>
                </Grid>
                <Grid Height="53" Margin="0,0,6,0">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="0.024*"/>
                        <ColumnDefinition Width="0.976*"/>
                    </Grid.ColumnDefinitions>
                    <StackPanel Grid.ColumnSpan="2" Margin="0" Grid.Row="2" Grid.Column="2">
                        <TextBlock TextWrapping="Wrap" Text="Nome do Títular:" FontFamily="Segoe UI" FontSize="13.333"/>
                        <TextBox Margin="0,6,323,0" MaxLength="20" 
                                 Text="{Binding Path=Value.nomeTitular, ElementName=uc, ValidatesOnDataErrors=True, NotifyOnValidationError=True, Mode=TwoWay}" />
                    </StackPanel>
                </Grid>
            </StackPanel>
        </Grid>
    </StackPanel>
</UserControl>

